package com.gimi.cloud.jimi.dao.dao.userInfo;

import com.gimi.cloud.jimi.dao.myMapper.MyMapper;
import com.gimi.cloud.jimi.entity.userInfo.LbsLocation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;


@Mapper
public interface LbsLocationDao extends MyMapper<LbsLocation> {

    @Select("SELECT * FROM rd_lbs_location WHERE 1=1 and longitude = #{longitude} and latitude = #{latitude} ")
    List<LbsLocation> getLbsLoactions(@Param(value = "longitude")double longitude,@Param(value = "latitude") double latitude);
}
